(function(){
	angular.module('app').factory('manageModelDataComponentService',manageModelDataComponentService);

	manageModelDataComponentService.$inject = ['util','$q','atomicNotifyService'];

	function manageModelDataComponentService(util,$q,atomicNotifyService){

		return {

			get:_get
		};

		function _get(json){

			var defer = $q.defer();

			util.$get({url:'',data:json}).then(function(resp){

				defer.resolve(resp);


			},function(err){

				defer.reject(err);
			});

			return defer.promise;
		}


	}

})();